package com.hotel.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 库存实体类
 * @author by LuJinRong
 * @date 2021/7/23。
 * @time 22:44。
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true) //链式加载
@TableName("inventory")
public class Inventory {
    private Integer inventoryId;
    private String commName;  //商品名称
    private  Integer price; //价格
    private Integer commNum;  //商品数量
    private Boolean status;  //状态
}
